package com.linzp.bishe.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.linzp.bishe.entity.SoftwareCopyright;
import lombok.Data;

/**
 * @ClassName SoftwareCopyrightsExcel
 * @Description 描述
 * @Author LinZePeng
 * @Date 2022/2/28 22:58
 * @Version 1.0
 */
@Data
public class SoftwareCopyrightsExcel {
	@ExcelProperty("著作权名称")
	private String copyrightName;
	@ExcelProperty("证书编号")
	private String certificateNumber;
	@ExcelProperty("学科门类")
	private String disciplineCategory;

	public SoftwareCopyright getSoftwareCopyright(){
		return new SoftwareCopyright()
				.setCopyrightName(this.copyrightName)
				.setCertificateNumber(this.certificateNumber)
				.setDisciplineCategory(this.disciplineCategory);
	}
}
